package chapter4.No4_1_使用reentrantLock类.demo9;

/**
 * *：实现生产者/消费者模式：一对一交替打印
 * Created by Administrator on 2016/11/21.
 */
public class Main {
    public static void main(String[] args) {
        ServiceClass sc = new ServiceClass();
        ThreadSet set = new ThreadSet(sc);
        ThreadGet get = new ThreadGet(sc);

        set.start();
        get.start();
    }
}
